package com.suning.sawp.dto.bi;

import java.io.Serializable;

/**
 * 
 * 〈一句话功能简述〉平均单价(含当前平均单价/上次平均单价/同比)<br>
 * 〈功能详细描述〉
 *
 * @author 17033093
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
public class BiStoreAvgPrice implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 当前平均单价
     */
    private BiSaleAmountDto currCommAvgPrice;

    /**
     * 上次平均单价(日维度：昨天；月维度：同期)
     */
    private BiSaleAmountDto lastCommAvgPrice;

    /**
     * 同比
     */
    private String saleRate;

    public BiStoreAvgPrice() {
        super();
    }

    public BiStoreAvgPrice(BiSaleAmountDto currCommAvgPrice, BiSaleAmountDto lastCommAvgPrice, String saleRate) {
        super();
        this.currCommAvgPrice = currCommAvgPrice;
        this.lastCommAvgPrice = lastCommAvgPrice;
        this.saleRate = saleRate;
    }

    public BiSaleAmountDto getCurrCommAvgPrice() {
        return currCommAvgPrice;
    }

    public void setCurrCommAvgPrice(BiSaleAmountDto currCommAvgPrice) {
        this.currCommAvgPrice = currCommAvgPrice;
    }

    public BiSaleAmountDto getLastCommAvgPrice() {
        return lastCommAvgPrice;
    }

    public void setLastCommAvgPrice(BiSaleAmountDto lastCommAvgPrice) {
        this.lastCommAvgPrice = lastCommAvgPrice;
    }

    public String getSaleRate() {
        return saleRate;
    }

    public void setSaleRate(String saleRate) {
        this.saleRate = saleRate;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("BiStoreAvgPrice [currCommAvgPrice=");
        builder.append(currCommAvgPrice);
        builder.append(", lastCommAvgPrice=");
        builder.append(lastCommAvgPrice);
        builder.append(", saleRate=");
        builder.append(saleRate);
        builder.append("]");
        return builder.toString();
    }

}
